package com.elink.enginerring.dao;

import java.util.List;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;

import com.elink.enginerring.domain.PostbarDc;

public interface PostbarDcMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(PostbarDc record);

    int insertSelective(PostbarDc record);

    PostbarDc selectByPrimaryKey(Integer id);
    
    List<PostbarDc> selectByPostBarId(@Param("postBarId")String postBarId);

    int updateByPrimaryKeySelective(PostbarDc record);

    int updateByPrimaryKey(PostbarDc record);

	void insertBatch(List<PostbarDc> fdc);
	
	@Delete("delete from post_bar_dc where  post_bar_id #{postbarId}")
	void delByPostbarId(@Param("postbarId") String postbarId);
}